//
// Created by QU on 24-6-27.
//

#ifndef LOGGER_H
#define LOGGER_H


#include <iostream>
#include <string>
#include <chrono>
#include <format>

// default logger version v1
namespace aquawius::json::logger::inline v1
{
    enum class LOG_LEVELS { DEBUG, INFO, WARN, ERROR, FATAL };

    class Logger
    {
    public:
        static void log(LOG_LEVELS level, const std::string& message);

    private:
        static std::string getFormattedTimeString();
    };
} // namespace aquawius::json::logger::inline v1

#endif //LOGGER_H
